'use strict';
// Copyright 2014 Blueant Inc. All Rights Reserved.
/**
 * @fileoverview 获取文字
 * @author sundbcn@gmail.com (sun debing)
 */

var dataApi = require('../libs/dataApi');

/**
 * 获取字符串
 * @param  {[type]} options [description]
 * @return {[type]}         [description]
 */
exports.getString = function (lang_id) {
    var lang_conf = dataApi.lang.findById(lang_id);
    if (!!lang_conf) {
        return lang_conf.name;
    }
    return '';
};
